package crawler.server.dispatch.entity.core;

import java.io.Serializable;
import java.util.Date;

public class URLEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String ID;              //记录ID
	private Date createTime;        //记录的创建时间
	private Date updateTime;        //记录的更新时间
	private Date startTime;         //URL开始执行的时间，即URL正常下发的时间
	private Date endTime;           //URL完成执行的时间，完成指URL的状态跃迁为终态
	private Date responseTime;      //服务器收到汇报的时间
	private String taskId;          //任务的ID，即Task表的taskId
	private String urlId;           //当前URL的ID
	private String parentUrlId;     //当前URL的父URL的ID。起始URL没有
	private String url;             //下发抓取的URL
	private String parentUrl;       //当前URL的父URL。起始URL没有
	private String information;     //URL附加信息
	private Integer priority;       //优先级
	private Integer retry;          //URL失败后的重试次数
	private Integer doRetry;        //已重试的次数
	private Long repeatTime;        //重发时间
	private Integer repeatRound;    //重发次数
	private Integer doRepeatRound;  //已重发的次数
	private Long urlInterval;       //URL执行间隔
	private Long urlTimeOut;        //URL超时时间
	private Boolean runNow;         //立即执行
	private String clientGroup;     //客户端分组
	private String clientException; //执行异常信息
	private Integer statusCode;     //执行状态码
	private String statusMsg;       //执行状态信息
	private Integer urlStatus;      //url的状态。
	
	
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getResponseTime() {
		return responseTime;
	}
	public void setResponseTime(Date responseTime) {
		this.responseTime = responseTime;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getUrlId() {
		return urlId;
	}
	public void setUrlId(String urlId) {
		this.urlId = urlId;
	}
	public String getParentUrlId() {
		return parentUrlId;
	}
	public void setParentUrlId(String parentUrlId) {
		this.parentUrlId = parentUrlId;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getParentUrl() {
		return parentUrl;
	}
	public void setParentUrl(String parentUrl) {
		this.parentUrl = parentUrl;
	}
	public String getInformation() {
		return information;
	}
	public void setInformation(String information) {
		this.information = information;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Integer getRetry() {
		return retry;
	}
	public void setRetry(Integer retry) {
		this.retry = retry;
	}
	public Integer getDoRetry() {
		return doRetry;
	}
	public void setDoRetry(Integer doRetry) {
		this.doRetry = doRetry;
	}
	public Long getRepeatTime() {
		return repeatTime;
	}
	public void setRepeatTime(Long repeatTime) {
		this.repeatTime = repeatTime;
	}
	public Integer getRepeatRound() {
		return repeatRound;
	}
	public void setRepeatRound(Integer repeatRound) {
		this.repeatRound = repeatRound;
	}
	public Integer getDoRepeatRound() {
		return doRepeatRound;
	}
	public void setDoRepeatRound(Integer doRepeatRound) {
		this.doRepeatRound = doRepeatRound;
	}
	public Long getUrlInterval() {
		return urlInterval;
	}
	public void setUrlInterval(Long urlInterval) {
		this.urlInterval = urlInterval;
	}
	public Long getUrlTimeOut() {
		return urlTimeOut;
	}
	public void setUrlTimeOut(Long urlTimeOut) {
		this.urlTimeOut = urlTimeOut;
	}
	public Boolean getRunNow() {
		return runNow;
	}
	public void setRunNow(Boolean runNow) {
		this.runNow = runNow;
	}
	public String getClientGroup() {
		return clientGroup;
	}
	public void setClientGroup(String clientGroup) {
		this.clientGroup = clientGroup;
	}
	public String getClientException() {
		return clientException;
	}
	public void setClientException(String clientException) {
		this.clientException = clientException;
	}
	public Integer getStatusCode() {
		return statusCode;
	}
	public void setStatusCode(Integer statusCode) {
		this.statusCode = statusCode;
	}
	public String getStatusMsg() {
		return statusMsg;
	}
	public void setStatusMsg(String statusMsg) {
		this.statusMsg = statusMsg;
	}
	public Integer getUrlStatus() {
		return urlStatus;
	}
	public void setUrlStatus(Integer urlStatus) {
		this.urlStatus = urlStatus;
	}

}
